package top.huxy.boot.util.obj;

public class ThreadLocalRequestStartTime {
    private static final ThreadLocal<Long> startTime = new ThreadLocal<>();

    public static void init() {
        startTime.remove();
        startTime.set(System.currentTimeMillis());
    }

    public static Long get() {
        return startTime.get();
    }

    public static void remove() {
        startTime.remove();
    }
}
